<?php
/**
* Copyright (c) 2002-2007 BioWare Corp.
* http://www.bigdaddymonitor.org
*
* This file is part of the BigDaddy Monitoring
* program. It is free software distributed under
* the terms of the BSD License. It is ditributed
* in the hopes that it will be useful, but
* WITHOUT ANY WARRANTY; without event the implied
* warranty of MERCHANTABILITY or FITNESS FOR A
* PARTICULAR PURPOSE.
*
* The BSD License is available from:
* http://www.opensource.org/licenses/bsd-license.php
**/
$App->sTitle = "CronTab";
$App->sHome = "/index.html?page=CrontabIndex";




if ($BigDaddy->IsUserAllowedByAction("cron-edit"))
{
    $bSetHeader = true;
    $App->AddOption('addnew', 'Add New Cron', 0, "{$_SERVER["PHP_SELF"]}?page=CronAddNew", 'cronoptions');
}
if ($BigDaddy->IsUserAllowedByAction("cron-meta"))
{
    $bSetHeader = true;
    $App->AddOption('cat', 'Manage Cron Categories', 0, "{$_SERVER["PHP_SELF"]}?page=CronCategory", 'cronoptions');
}

if ($bSetHeader)
{
    $App->AddOptionHeader('cronoptions', 'Options');
}
?>
